public class Switch {
    public static void main(String[] args) {
        String i="one";


        int p=switch (i){
            case "nr"->1;
            case "two"->2;
            case "one"->3;
            default -> 0;

        };
        System.out.println(p);
    }

}
